package com.zhouxiaoge.mongo.documents;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author 周小哥
 * <p>
 * 2025-02-09 21:47:40
 */
@Data
@Document("address")
public class Address {

    @Id
    private String id;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;
    /**
     * 县、区
     */
    private String county;

    /**
     * 详情
     */
    private String detail;
}
